/**
 * Author: Dmitry Ustimov
 * Date: 5/13/13
 * Time: 9:54 AM
 */

package com.gmail.dmitryustimov.ms.java7.chain_of_responsibility.mod.example;


public class EmailLogger<T extends LogMessage> extends LoggerHandler<T> {

    protected int loggerLevel;

    public EmailLogger(LogLevel loggerLevel) {
        super(loggerLevel);
    }

    @Override
    protected void writeMessage(String msg) {
        System.err.println("Sending via email: " + msg);
    }
}
